/*
 * MWS Admin v2.1 - Charts Demo JS
 * This file is part of MWS Admin, an Admin template build for sale at ThemeForest.
 * All copyright to this file is hold by Mairel Theafila <maimairel@yahoo.com> a.k.a nagaemas on ThemeForest.
 * Last Updated:
 * December 08, 2012
 *
 */

;(function( $, window, document, undefined ) {

    $(document).ready(function() {
        huatutu();
        function huatutu(){

                if($.plot) {           

                var data = [{
                    label: "American",
                    data: 41
                }, {
                    label: "Indonesian",
                    data: 12
                }, {
                    label: "Dutch",
                    data: 55
                }, {
                    label: "Japanese",
                    data: 12
                }, {
                    label: "Korean",
                    data: 11
                }, {
                    label: "French",
                    data: 66
                }, {
                    label: "Chinese",
                    data: 11
                }];

                
                $.plot($("#mws-pie-2"),
                data, {
                    series: {
                        pie: {
                            show: true
                        }
                    },
                    legend: {
                        show: false
                    }
                });          
            }




        }

        

    });

}) (jQuery, window, document);